import request from '@/utils/request'

// 查询服务费付款方列表
export function listProjectpayer(query) {
  return request({
    url: '/system/projectpayer/list',
    method: 'get',
    params: query
  })
}

// 查询服务费付款方列表
export function listsProjectpayer(query) {
  return request({
    url: '/system/projectpayer/lists',
    method: 'get',
    params: query
  })
}

// 查询服务费付款方详细
export function getProjectpayer(id) {
  return request({
    url: '/system/projectpayer/' + id,
    method: 'get'
  })
}

// 新增服务费付款方
export function addProjectpayer(data) {
  return request({
    url: '/system/projectpayer',
    method: 'post',
    data: data
  })
}

// 修改服务费付款方
export function updateProjectpayer(data) {
  return request({
    url: '/system/projectpayer',
    method: 'put',
    data: data
  })
}

// 删除服务费付款方
export function delProjectpayer(id) {
  return request({
    url: '/system/projectpayer/' + id,
    method: 'delete'
  })
}
